package com.itheima.blog.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 门户网站首页导航栏
 * </p>
 *
 * @author blog
 * @since 2023-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_web_navbar")
@ApiModel(value="TWebNavbar对象", description="门户网站首页导航栏")
public class TWebNavbar implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @ApiModelProperty(value = "导航栏菜单名称")
    private String name;

    @ApiModelProperty(value = "级别")
    private Boolean navbarLevel;

    @ApiModelProperty(value = "简介")
    private String summary;

    @ApiModelProperty(value = "父导航栏ID(目前本项目只设置一级导航菜单)")
    private Integer parentUid;

    @ApiModelProperty(value = "路由路径(请咨询前端后设置值)")
    private String path;

    @ApiModelProperty(value = "导航栏图标/样式")
    private String icon;

    @ApiModelProperty(value = "展示状态0不展示 1展示")
    private Boolean isShow;

    @ApiModelProperty(value = "排序 ")
    private Integer sort;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
